package com.itsq.service.resources;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itsq.pojo.dto.PageCarDto;
import com.itsq.pojo.entity.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 史先帅
 * @since 2021-01-29
 */
public interface CarService extends IService<Car> {

    public Page<Car> selCarPageFront(PageCarDto pageCarDto);

    public Page<Car> selCarPageAfter(PageCarDto pageCarDto);

    public Integer insert(Car car);

    public Integer update(Car car);

    public Car selCarById(Integer id);

    public List<Car> selCarList();

    public List<Car> selCarListByCompanyId(Integer companyId);

    public Integer delete(Integer id);
}
